package com.gpzx.zx.module.home.frame.presenter

import com.gpzx.zx.module.home.frame.view.AuthorView
import com.gpzx.zx.module.home.ui.activity.AuthorActivity

import com.gpzx.zx.utlis.QklDbUtlis
import com.wkq.base.frame.mosby.MvpBasePresenter

/**
 *
 * 作者:吴奎庆
 *
 * 时间:2020/7/14
 *
 * 用途:
 */


class AuthorPresenter :MvpBasePresenter<AuthorView>() {
    fun getData(orgInfoActivity: AuthorActivity, orgId: String) {

        var db= QklDbUtlis(orgInfoActivity);
        var orgInfo= db.get7AuthorNews(orgId)
        view.showView(orgInfo)

    }

}